package com.example.tool.bean.business.wechat;

import com.example.tool.bean.wcaiexcel.WeComApiResponse;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class AddSheetResponse extends WeComApiResponse {

    private ResponseProperties properties;


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ResponseProperties {
        private String title;
        private Integer index;
        @JsonProperty("sheet_id")
        private String sheetId;
    }
}
